package cn.kai.basic.emun;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
@AllArgsConstructor
@Getter
public enum RequireTypeEum {

    GET("GetMapping"),
    PUT("PutMapping"),
    DELETE("PutMapping"),
    POST("PutMapping"),
    PATCH("PutMapping");

    private String code;
    public static List<String> lsit(){
        return Arrays.stream(RequireTypeEum.values()).map(value -> value.code).collect(Collectors.toList());
    }

}
